#include "ObstructionEntity.h"




ObstructionEntity::ObstructionEntity(int id, int type, double x, double y)
{
	_data = new ObstructionData(id, type, x, y);
}

AbstractData* ObstructionEntity::getAbstractData()
{
	return _data;
}

void ObstructionEntity::update(long timetick)
{

}

void ObstructionEntity::draw(long timetick)
{
	//_data->sprites->draw();
}

void ObstructionEntity::initData()
{
	_data->initData();
}
